package net.atomtree.corrsepond.spider;

import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.Node;
import org.jsoup.select.Elements;

import java.util.Map;

/**
 * Created by czk on 2016/1/5.
 */
public interface Spider {
    public Document getHtml(SpiderContext context) throws Exception;
    public Element getBody(SpiderContext context) throws Exception;
    public Elements getPassage(SpiderContext context) throws Exception;
}
